/*
 * @Author: LSC
 * @Date: 2021-04-22 12:09:47
 * @LastEditTime: 2021-04-30 10:35:00
 */
import request from '@/utils/request'

export function getProductGroupList(params) {
  return request({
    url: '/vue-element-admin/get/productGroupList',
    method: 'get',
    params
  })
}
export function getProductGroupById(params) {
  return request({
    url: '/vue-element-admin/getProductGroupById',
    method: 'get',
    params
  })
}
export function setGroup(data) {
  return request({
    url: '/vue-element-admin/setGroup',
    method: 'post',
    data
  })
}
export function addGroup(data) {
  return request({
    url: '/vue-element-admin/addGroup',
    method: 'post',
    data
  })
}
export function setListGroup(data) {
  return request({
    url: '/vue-element-admin/setListGroup',
    method: 'post',
    data
  })
}

